﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net.Core;

namespace CSP.Common.Providers
{
    public class LogExceptionHandler:IErrorHandler
    {
        public void Error(string message)
        {
            throw new Exception(message);
        }

        public void Error(string message, Exception e)
        {
            throw new Exception(message,e);
        }

        public void Error(string message, Exception e, ErrorCode errorCode)
        {
            throw new Exception(message, e);
        }
    }
}
